Skip to content

Rescue ManagedLgIcuCollator.manifest in patch builds (PYRO0305)#934

Merged
jasonleenaylor merged 1 commit into
mainfrom
claude/suspicious-borg-0acd72
Jun 10, 2026
Merged

Rescue ManagedLgIcuCollator.manifest in patch builds (PYRO0305)#934
jasonleenaylor merged 1 commit into
mainfrom
claude/suspicious-borg-0acd72

Conversation

@jasonleenaylor

@jasonleenaylor jasonleenaylor commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes the patch build failure:

PYRO0305: The File 'ManagedLgIcuCollator.manifest' was removed in the patch.

Commit 846c123 ("Reduce optional COM usage", #904) stopped emitting the
reg-free COM manifest ManagedLgIcuCollator.manifest. The base release (e.g.
build-1437) still ships it, and WiX 3 pyro.exe rejects patches that remove a
file — so every patch build since #904 fails with PYRO0305.

Fix

  • Build/Installer.legacy.targets — add ManagedLgIcuCollator.manifest to
    the RescuePatching target's RemovedSinceLastBase list. That writes a
    zero-byte placeholder into the build output ($(dir-outputBase)), so the file
    is present in both the Master and Update harvests and pyro treats it as
    changed rather than removed. Mirrors the existing
    ManagedVwWindow.manifest / SimpleRootSite.manifest entries.
  • FLExInstaller/AGENTS.md — document the PYRO0305 ... was removed in the patch error and its fix under the WiX 3 (PatchableInstaller) notes, so the
    next occurrence is resolved without re-investigation.

Follow-up (not in this PR)

The RemovedSinceLastBase placeholders are a stopgap. Once a new Base build
is cut (where the manifest is absent from Master too), the
ManagedLgIcuCollator.manifest, ManagedVwWindow.*, and
SimpleRootSite.manifest entries should be cleared out.

Testing

Not built locally — a full patch build needs the base release artifacts
(BuildDir.zip) plus a Release patch build (build.ps1 -BuildPatch). The change
is a one-line mirror of the established, working pattern for the same class of
dropped manifests; the Patch Installer CI workflow will exercise it.

🤖 Generated with Claude Code


This change is Reviewable

Commit 846c123 ("Reduce optional COM usage", #904) stopped emitting the
reg-free COM manifest ManagedLgIcuCollator.manifest, but the base release
still ships it. WiX 3 pyro then fails the patch build with PYRO0305 because
files cannot be removed in a patch.

Add the manifest to the RescuePatching target's RemovedSinceLastBase list so
a zero-byte placeholder is staged into the build output. The file is then
present in both the Master and Update harvests, so pyro treats it as changed
rather than removed. This mirrors the existing ManagedVwWindow.manifest and
SimpleRootSite.manifest entries.

Also document the error and this fix in FLExInstaller/AGENTS.md for future
occurrences.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jasonleenaylor jasonleenaylor marked this pull request as ready for review June 9, 2026 18:48
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Render comparison artifacts

10235008529e run 27227763925.1 detected 1 render snapshot failure(s).

This comment is updated in place by CI for the latest run.

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

NUnit Tests

    1 files  ±0      1 suites  ±0   10m 37s ⏱️ -29s
4 251 tests ±0  4 177 ✅  - 1  73 💤 ±0  1 ❌ +1 
4 260 runs  ±0  4 186 ✅  - 1  73 💤 ±0  1 ❌ +1 

For more details on these failures, see this check.

Results for commit 8ce0eb7. ± Comparison against base commit 026ca3d.

@jasonleenaylor jasonleenaylor enabled auto-merge (squash) June 9, 2026 19:17

@aror92 aror92 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@aror92 reviewed 2 files and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on jasonleenaylor).

@jasonleenaylor jasonleenaylor disabled auto-merge June 10, 2026 14:51
@jasonleenaylor jasonleenaylor merged commit 71aebbe into main Jun 10, 2026
7 of 9 checks passed
@jasonleenaylor jasonleenaylor deleted the claude/suspicious-borg-0acd72 branch June 10, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants